liblockdep: Fix undefined symbol prandom_u32
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 20:09:19 +0000 (21:09 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 12 Jan 2017 15:52:37 +0000 (15:52 +0000)
commitf6275df143b2717bdcc87e3c99c00f6dd0c23b3d
tree974fb6411f043f77e519532c8486fc35fdac3e84
parent2729e3914e1db7dbcd8ca02ef9b60d91c86cc3ad
liblockdep: Fix undefined symbol prandom_u32

__lock_pin_lock() now calls prandom_u32() which is not defined in
liblockdep.  __lock_pin_lock() and its caller lock_pin_lock() are dead
code in liblockdep, but we still need to provide a definition of
prandom_u32() in case lazy binding is disabled.

Fixes: e7904a28f533 ("locking/lockdep, sched/core: Implement a better ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name liblockdep-fix-undefined-symbol-prandom_u32.patch
tools/lib/lockdep/lockdep.c